package cola.rh.System.Controller;

import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Name: DockerController
 * @Author: Cola
 * @Time: 2023/3/8 20:51
 * @Description: DockerController
 */
@Api(tags = "Docker 管理")
@Slf4j
@RestController
@RequestMapping("/v1/api/dockers")
public class DockerController {

    @GetMapping("helloDocker")
    public String helloDocker() {
        return "Hello Docker!";
    }

    @GetMapping("v1")
    public String testDockerV1() {
        return "Init Commit";
    }

    @GetMapping("v2")
    public String testDockerV2() {
        return "Role 前后端联调";
    }
}
